{% load static %}
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="keyword" content="{% block keyword %}BASE_HTML{% endblock %}">
    <meta name="description" content="{% block description %}BASE_HTML{% endblock %}">
    <meta name="author" content="skywalker">
{#    <link rel="icon" href="{% static 'icons/lab.png' %}">#}
{#    <title>实验室药品分析与管理系统#}
        {% block title %}
        {% endblock %}
    </title>
    <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'css/base.css' %}">
    <link rel="stylesheet" href="{% block css %}
    {% endblock css %}">
</head>

<body>
<nav class="">
{#    <img src="{% static 'icons/lab.png' %}"#}
{#         width="33" height="33" class="d-inline-block align-top" alt="">&nbsp;&nbsp;#}
{#    <a class="navbar-brand" href="#">实验药品管理系统</a>#}
{#    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"#}
{#            aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">#}
{#        <span class="navbar-toggler-icon"></span>#}
{#    </button>#}
{##}
{#    <div class="collapse navbar-collapse" id="navbarsExampleDefault">#}
{#        <ul class="navbar-nav mr-auto">#}
{#            <li class="nav-item  {% block indexHighlight %}{% endblock %}">#}
{#                <a class="nav-link" href="{% url 'Lab:index' %}">药品列表 <span class="sr-only">(current)</span></a>#}
{#            </li>#}
{#            <li class="nav-item  {% block insindexHighlight %}{% endblock %}">#}
{#                <a class="nav-link" href="{% url 'Lab:ins_index' %}">仪器列表 <span class="sr-only">(current)</span></a>#}
{#            </li>#}
{#            <li class="nav-item  {% block labHighlight %}{% endblock %}">#}
{#                <a class="nav-link" href="{% url 'Lab:lab' %}">实验室列表<span class="sr-only">(current)</span></a>#}
{#            </li>#}
{#            <li class="nav-item {% block userHighlight %}{% endblock %}">#}
{#                <a class="nav-link" href="{% url 'Lab:userInfo' %}">个人中心</a>#}
{#            </li>#}
{#            <li class="nav-item {% block aboutHighlight %}{% endblock %}">#}
{#                <a class="nav-link disabled" href="{% url 'Lab:about' %}">关于</a>#}
{#            </li>#}
{#        </ul>#}
{##}
{#        <form style="margin-right: 50px" class="form-inline my-2 my-lg-0" action="{% url 'Lab:medicineSearch' %}"#}
{#              method="POST">#}
{#            {% csrf_token %}#}
{#            <input name='keyword' class="form-control mr-sm-2" type="text" placeholder="请输入要查询的药品" aria-label="Search">#}
{#            <div class="form-row align-items-center">#}
{#                <div class="col-auto my-1">#}
{#                    <label class="mr-sm-2 sr-only" for="inlineFormCustomSelect">Preference</label>#}
{#                    <select name='searchType' class="custom-select mr-sm-2" id="inlineFormCustomSelect">#}
{#                        <option selected>所有</option>#}
{#                        <option value="name">药品名</option>#}
{#                        <option value="number">药品编号</option>#}
{#                    </select>#}
{#                </div>#}
{#            </div>&nbsp;&nbsp;&nbsp;&nbsp;#}
{#            <button style="width: 100px" class="btn btn-outline-success my-2 my-sm-0" type="submit">搜索</button>#}
{#        </form>#}
{##}
{#        {% if user.is_authenticated %}#}
{#            <a href="{% url 'Lab:logout' %}">#}
{#                <button style="width: 150px" class="btn btn-primary">{{ user.username }}, 登出</button>#}
{#            </a>#}
{#            </div>#}
{#        {% else %}#}
{#            <a href="{% url 'Lab:login' %}">#}
{#                <button style="width: 100px" class="btn btn-primary">登录</button>#}
{#            </a>#}
{#            </div>#}
{#        {% endif %}#}
</nav>

<main role="main" class="container">
    {% block main_block %}
    {% endblock %}

</main>
<footer class="footer">
    <div class="copyright" style="text-align: center">
        <p>
{#            <span>Copyright (C). create by BHML 2023, All Rights Reserved</span>&nbsp;&nbsp;#}
            <a href="/admin">管理员入口</a>
        </p>
    </div>
</footer>

<!-- Bootstrap core JavaScript  -->
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"
        integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
        crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js"
        integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
        crossorigin="anonymous"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>

</body>
</html>
